package com.yst.webplugin.annotation;

import com.yst.webplugin.api.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Api.ApiEntity("Filter element for expression")
public  class FilterItem implements Serializable {
    @Api.ApiField("Field name")
    private String fieldName;
    @Api.ApiField("Symbol for expression")
    private String symbol;
    @Api.ApiField("Value of the expression")
    private Object value;
}
